package com.distortiongames.level27.generation
{
	import flash.utils.Dictionary;
	
	/**
	 * ...
	 * @author Jefferson Wagner
	 */
	public class Keyword
	{
		private var _name:String;
		public var properties:Dictionary;
		//private var _size:int
		//private var _sizeOfCorridor:int
		//private var _numberOfRooms:int
		//private var _numberOfMonsters:int;
		//private var _levelOfMonsters:int
		//private var _elementalAffinity:int
		//private var _branching:int
		//private var _darkness:int;
		
		public function Keyword()
		{
			_name = "";
			properties = new Dictionary();
		}
		
		public function get name():String
		{
			return _name;
		}
		
		public function set name(value:String):void
		{
			_name = value;
		}
		
		public function hashCode() : int {
			var hash:int = 0;
			for (var i:int = 0; i < _name.length; i++) 
			{
				hash += _name.charCodeAt(i);
			}
			return hash;
			
		}
	
	}

}